-
Home
-
WooCommerce Blocks
-
11.7.0 (latest)
-
Code
-
Classes
- QuantityLimits
| Total Complexity |
19 |
| Dependencies |
3 |
| Dependents |
3 |
| Total lines |
201 |
| Lines of code |
98 |
| Logical lines of code |
41 |
| Comment lines |
80 |
| Methods |
7 |
| Properties |
0 |
Methods 7
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| validate_cart_item_quantity() |
S |
49 |
5 |
37 |
| get_cart_item_quantity_limits() |
S |
54 |
2 |
21 |
| limit_to_multiple() |
S |
67 |
3 |
7 |
| get_product_quantity_limit() |
S |
64 |
3 |
9 |
| filter_value() |
S |
68 |
3 |
6 |
| get_remaining_stock() |
S |
66 |
2 |
8 |
| get_add_to_cart_limits() |
S |
63 |
1 |
10 |